#!/bin/bash
function on_exit()
{
    pkill -P $$
}
trap on_exit EXIT

read TMP </dev/ttyUSB0
echo -n "B" >/dev/ttyUSB0
#kill -9 $PID
